Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 4 - Geometric Objects / Geometric Objects Reference
Geometric Objects Routines / Creating and Editing Meshes


Q3Mesh_GetFacePlaneEquation

You can use the Q3Mesh_GetFacePlaneEquation function to determine the plane equation of a face of a mesh.

TQ3Status Q3Mesh_GetFacePlaneEquation (
TQ3GeometryObject mesh, 
TQ3MeshFace face, 
TQ3PlaneEquation *planeEquation);
mesh
A mesh.
face
A mesh face.
planeEquation
On exit, the plane equation of the plane spanned by the vertices of the specified mesh face.
DESCRIPTION
The Q3Mesh_GetFacePlaneEquation function returns, in the planeEquation parameter, the plane equation of the plane spanned by the vertices of the mesh face specified by the mesh and face parameters. If the vertices of the mesh face do not all lie in one plane, the information returned in the planeEquation parameter is only an approximation.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996